﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PhotgalleryEntities.Interfaces;

namespace PhotoGalleryEnteties
{
    public class Album:IAlbumItem
    {
        public virtual int AlbumId { get; set; }
        public virtual DateTime CreationDate { get; set; }
        public virtual string Title { get; set; }
        public virtual string Description { get; set; }

        public virtual Album ParentAlbum { get; set; }
        public virtual ICollection< Album> ChildAlbums { get; set; }
        public virtual ICollection< PhotoInfo> Photos { get; set; }
        public virtual ICollection< Tag> Tags { get; set; }
        public virtual GalleryUser Owner { get; set; }
    }
}
